{include file="header.html"}
<script src="/js/ckeditor/ckeditor.js"></script>
<div class="page-header">
	<h6>
		服务省市
		<small>
			<i class="ace-icon fa fa-angle-double-right"></i>
			省份编辑
		</small>
	</h6>
</div>
<div class="row">
<div class="col-xs-12">
	<form class="form-horizontal" role="form" method="post" action="?app=service&act=province_edit" enctype="multipart/form-data">
		<input type="hidden" name="id" id="id" value="{$row->id}" />
		
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="province_id"> 省份 </label>
			<div class="col-sm-10">
                <select name="province_id" id="province_id"></select>
			</div>
		</div>
		
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="status"> 是否显示 </label>
			<div class="col-sm-10">
				<div class="radio">
					<label>
						<input type="radio" name="status" value="1" class="ace" {if $row->status==1}checked{/if} />
						<span class="lbl"> 是</span>
					</label>
				</div>
				<div class="radio">
					<label>
						<input type="radio" name="status" value="0" {if $row->status==0}checked{/if} class="ace" />
						<span class="lbl"> 否</span>
					</label>
				</div>
			</div>
		</div>
		
		<div class="form-group">
			<label class="col-sm-2 control-label no-padding-right" for="sort"> 排序 </label>
			<div class="col-sm-10">
				<input type="text" name="sort" id="sort" value="{$row->sort}" class="col-xs-2" />
				<span class="some-line">数字越小，排在越前</span>
			</div>
		</div>

		<div class="clearfix form-actions">
			<div class="col-md-offset-3 col-md-9">
				<button class="btn btn-info" type="submit">
					<i class="ace-icon fa fa-check bigger-110"></i>
					提交
				</button>

				&nbsp; &nbsp; &nbsp;
				<button class="btn" type="reset">
					<i class="ace-icon fa fa-undo bigger-110"></i>
					重置
				</button>
			</div>
		</div>
	</form>
</div>
</div>
<script>
$(function(){
	showCity({ provincecode:'{$row->province_id}', province:'#province_id' });
});
</script>
{include file="footer.html"}